package com.boc.langxiang.contract.me;

import android.widget.PopupWindow;

import com.boc.langxiang.contract.BaseView;
import com.boc.langxiang.entity.response.BaseResponse;
import com.boc.langxiang.entity.response.ProductListEntity;
import com.boc.langxiang.presenter.BasePresenter;

import java.util.List;

/**
 * Created by admin on 2016/6/28.
 */
public interface OrdersWaitReceiveFragmentContract {

    interface View extends BaseView {

        void toReceiptOrders(List<ProductListEntity> list);

        void startDetailActivity(String id,String totalPrice);

        void showPopupWindow(android.view.View receiveView, PopupWindow receivePop);

        void setBackgroundAlpht(float v);

        void onReceiveSureClick(PopupWindow receivePop, String id);

        void onReceiveGiveUpClick(PopupWindow receivePop);

        /**
         * 确认帐货
         * @param response
         */
        void conFirmReceipt(BaseResponse response);
    }

    interface Presenter extends BasePresenter {

        void toReceiptOrders(String page);

        void confirmReceipt(String id);
    }
}
